home *** CD-ROM | disk | FTP | other *** search
/ gdead.berkeley.edu / gdead.berkeley.edu.tar / gdead.berkeley.edu / pub / gdead / mac / stack-o-dead-1.8 / stack-o-dead-1.8.2.sit.hqx / Dead Labels / background_2764.xml next >
Extensible Markup Language  |  1991-03-17  |  39KB  |  994 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2764</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3804.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3206.css" />
  11.     <part>
  12.         <id>33</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>317</left>
  23.             <top>32</top>
  24.             <right>344</right>
  25.             <bottom>295</bottom>
  26.         </rect>
  27.         <style>opaque</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font></font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>16</textHeight>
  40.         <name>hide edge</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>32</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <false /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>266</left>
  55.             <top>39</top>
  56.             <right>292</right>
  57.             <bottom>64</bottom>
  58.         </rect>
  59.         <style>opaque</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font></font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>16</textHeight>
  72.         <name>hide flower</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>29</id>
  77.         <type>button</type>
  78.         <visible> <true /> </visible>
  79.         <reserved5> 0 </reserved5>
  80.         <reserved4> 0 </reserved4>
  81.         <reserved3> 0 </reserved3>
  82.         <reserved2> 0 </reserved2>
  83.         <reserved1> 0 </reserved1>
  84.         <enabled> <true /> </enabled>
  85.         <rect>
  86.             <left>431</left>
  87.             <top>232</top>
  88.             <right>508</right>
  89.             <bottom>254</bottom>
  90.         </rect>
  91.         <style>shadow</style>
  92.         <showName> <true /> </showName>
  93.         <highlight> <false /> </highlight>
  94.         <autoHighlight> <true /> </autoHighlight>
  95.         <sharedHighlight> <true /> </sharedHighlight>
  96.         <family>0</family>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Chicago</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <name>= Stacks =</name>
  104.         <script>--  This button will present a pop-up menu of stack names.--  Hold the mouse button down for a few seconds until--  the menu appears.  Select one of the choices to--  go to that stack.on mouseDownif the commandKey is down thendoHelpexit mouseDownend if--global stackLastput true into useLastif the optionKey is down then put false into useLastif stackLast is empty thenput "1,1,1,1,1,1" into stackListput the rect of me into thePtif item 2 of thePt > 230 then put 230 into item 2 of thePtput "Shows;Songs;Tapes;Stats;Utility" into listput popUp( thePt, list ) into choice-- if it is 0, then no choice was made...if choice is not 0 thenput piece( list, ";", choice ) into theStackif theStack is not "Songs" then put "Dead " before theStackset the hilite of me to falsego stack theStackend ifend ifend mouseDown</script>
  105.     </part>
  106.     <part>
  107.         <id>1</id>
  108.         <type>field</type>
  109.         <visible> <true /> </visible>
  110.         <dontWrap> <false /> </dontWrap>
  111.         <dontSearch> <false /> </dontSearch>
  112.         <sharedText> <false /> </sharedText>
  113.         <fixedLineHeight> <true /> </fixedLineHeight>
  114.         <autoTab> <false /> </autoTab>
  115.         <lockText> <false /> </lockText>
  116.         <rect>
  117.             <left>26</left>
  118.             <top>50</top>
  119.             <right>343</right>
  120.             <bottom>68</bottom>
  121.         </rect>
  122.         <style>transparent</style>
  123.         <autoSelect> <false /> </autoSelect>
  124.         <showLines> <false /> </showLines>
  125.         <wideMargins> <false /> </wideMargins>
  126.         <multipleLines> <false /> </multipleLines>
  127.         <reservedFamily> 0 </reservedFamily>
  128.         <titleWidth>0</titleWidth>
  129.         <icon>0</icon>
  130.         <textAlign>center</textAlign>
  131.         <font>Geneva</font>
  132.         <textSize>12</textSize>
  133.         <textStyle>condense</textStyle>
  134.         <textStyle>shadow</textStyle>
  135.         <textStyle>outline</textStyle>
  136.         <textStyle>bold</textStyle>
  137.         <textHeight>16</textHeight>
  138.         <name>location</name>
  139.         <script>on closeFieldput field "location" into field "side location"end closeField</script>
  140.     </part>
  141.     <part>
  142.         <id>2</id>
  143.         <type>field</type>
  144.         <visible> <true /> </visible>
  145.         <dontWrap> <false /> </dontWrap>
  146.         <dontSearch> <false /> </dontSearch>
  147.         <sharedText> <false /> </sharedText>
  148.         <fixedLineHeight> <true /> </fixedLineHeight>
  149.         <autoTab> <false /> </autoTab>
  150.         <lockText> <false /> </lockText>
  151.         <rect>
  152.             <left>31</left>
  153.             <top>75</top>
  154.             <right>183</right>
  155.             <bottom>208</bottom>
  156.         </rect>
  157.         <style>transparent</style>
  158.         <autoSelect> <false /> </autoSelect>
  159.         <showLines> <false /> </showLines>
  160.         <wideMargins> <false /> </wideMargins>
  161.         <multipleLines> <false /> </multipleLines>
  162.         <reservedFamily> 0 </reservedFamily>
  163.         <titleWidth>0</titleWidth>
  164.         <icon>0</icon>
  165.         <textAlign>center</textAlign>
  166.         <font>Geneva</font>
  167.         <textSize>10</textSize>
  168.         <textStyle>condense</textStyle>
  169.         <textStyle>bold</textStyle>
  170.         <textHeight>13</textHeight>
  171.         <name>side A</name>
  172.         <script></script>
  173.     </part>
  174.     <part>
  175.         <id>3</id>
  176.         <type>field</type>
  177.         <visible> <true /> </visible>
  178.         <dontWrap> <false /> </dontWrap>
  179.         <dontSearch> <false /> </dontSearch>
  180.         <sharedText> <false /> </sharedText>
  181.         <fixedLineHeight> <true /> </fixedLineHeight>
  182.         <autoTab> <false /> </autoTab>
  183.         <lockText> <false /> </lockText>
  184.         <rect>
  185.             <left>188</left>
  186.             <top>75</top>
  187.             <right>338</right>
  188.             <bottom>208</bottom>
  189.         </rect>
  190.         <style>transparent</style>
  191.         <autoSelect> <false /> </autoSelect>
  192.         <showLines> <false /> </showLines>
  193.         <wideMargins> <false /> </wideMargins>
  194.         <multipleLines> <false /> </multipleLines>
  195.         <reservedFamily> 0 </reservedFamily>
  196.         <titleWidth>0</titleWidth>
  197.         <icon>0</icon>
  198.         <textAlign>center</textAlign>
  199.         <font>Geneva</font>
  200.         <textSize>10</textSize>
  201.         <textStyle>condense</textStyle>
  202.         <textStyle>bold</textStyle>
  203.         <textHeight>13</textHeight>
  204.         <name>side B</name>
  205.         <script></script>
  206.     </part>
  207.     <part>
  208.         <id>4</id>
  209.         <type>field</type>
  210.         <visible> <true /> </visible>
  211.         <dontWrap> <false /> </dontWrap>
  212.         <dontSearch> <false /> </dontSearch>
  213.         <sharedText> <false /> </sharedText>
  214.         <fixedLineHeight> <true /> </fixedLineHeight>
  215.         <autoTab> <false /> </autoTab>
  216.         <lockText> <true /> </lockText>
  217.         <rect>
  218.             <left>29</left>
  219.             <top>230</top>
  220.             <right>254</right>
  221.             <bottom>246</bottom>
  222.         </rect>
  223.         <style>transparent</style>
  224.         <autoSelect> <false /> </autoSelect>
  225.         <showLines> <false /> </showLines>
  226.         <wideMargins> <false /> </wideMargins>
  227.         <multipleLines> <false /> </multipleLines>
  228.         <reservedFamily> 0 </reservedFamily>
  229.         <titleWidth>0</titleWidth>
  230.         <icon>0</icon>
  231.         <textAlign>left</textAlign>
  232.         <font>Geneva</font>
  233.         <textSize>9</textSize>
  234.         <textStyle>condense</textStyle>
  235.         <textStyle>shadow</textStyle>
  236.         <textStyle>outline</textStyle>
  237.         <textStyle>bold</textStyle>
  238.         <textHeight>12</textHeight>
  239.         <name>side location</name>
  240.         <script></script>
  241.     </part>
  242.     <part>
  243.         <id>5</id>
  244.         <type>field</type>
  245.         <visible> <true /> </visible>
  246.         <dontWrap> <false /> </dontWrap>
  247.         <dontSearch> <false /> </dontSearch>
  248.         <sharedText> <false /> </sharedText>
  249.         <fixedLineHeight> <true /> </fixedLineHeight>
  250.         <autoTab> <false /> </autoTab>
  251.         <lockText> <false /> </lockText>
  252.         <rect>
  253.             <left>250</left>
  254.             <top>217</top>
  255.             <right>343</right>
  256.             <bottom>231</bottom>
  257.         </rect>
  258.         <style>transparent</style>
  259.         <autoSelect> <false /> </autoSelect>
  260.         <showLines> <false /> </showLines>
  261.         <wideMargins> <false /> </wideMargins>
  262.         <multipleLines> <false /> </multipleLines>
  263.         <reservedFamily> 0 </reservedFamily>
  264.         <titleWidth>0</titleWidth>
  265.         <icon>0</icon>
  266.         <textAlign>right</textAlign>
  267.         <font>Geneva</font>
  268.         <textSize>9</textSize>
  269.         <textStyle>bold</textStyle>
  270.         <textHeight>12</textHeight>
  271.         <name>date</name>
  272.         <script>on closeFieldconvert field "date" to short dateset name of this card to field "date"end closefield</script>
  273.     </part>
  274.     <part>
  275.         <id>6</id>
  276.         <type>field</type>
  277.         <visible> <true /> </visible>
  278.         <dontWrap> <false /> </dontWrap>
  279.         <dontSearch> <false /> </dontSearch>
  280.         <sharedText> <false /> </sharedText>
  281.         <fixedLineHeight> <true /> </fixedLineHeight>
  282.         <autoTab> <false /> </autoTab>
  283.         <lockText> <false /> </lockText>
  284.         <rect>
  285.             <left>322</left>
  286.             <top>231</top>
  287.             <right>343</right>
  288.             <bottom>245</bottom>
  289.         </rect>
  290.         <style>transparent</style>
  291.         <autoSelect> <false /> </autoSelect>
  292.         <showLines> <false /> </showLines>
  293.         <wideMargins> <false /> </wideMargins>
  294.         <multipleLines> <false /> </multipleLines>
  295.         <reservedFamily> 0 </reservedFamily>
  296.         <titleWidth>0</titleWidth>
  297.         <icon>0</icon>
  298.         <textAlign>left</textAlign>
  299.         <font>Geneva</font>
  300.         <textSize>9</textSize>
  301.         <textStyle>bold</textStyle>
  302.         <textHeight>12</textHeight>
  303.         <name>set</name>
  304.         <script></script>
  305.     </part>
  306.     <part>
  307.         <id>7</id>
  308.         <type>button</type>
  309.         <visible> <true /> </visible>
  310.         <reserved5> 0 </reserved5>
  311.         <reserved4> 0 </reserved4>
  312.         <reserved3> 0 </reserved3>
  313.         <reserved2> 0 </reserved2>
  314.         <reserved1> 0 </reserved1>
  315.         <enabled> <true /> </enabled>
  316.         <rect>
  317.             <left>443</left>
  318.             <top>311</top>
  319.             <right>473</right>
  320.             <bottom>338</bottom>
  321.         </rect>
  322.         <style>transparent</style>
  323.         <showName> <false /> </showName>
  324.         <highlight> <false /> </highlight>
  325.         <autoHighlight> <true /> </autoHighlight>
  326.         <sharedHighlight> <true /> </sharedHighlight>
  327.         <family>0</family>
  328.         <titleWidth>0</titleWidth>
  329.         <icon>20689</icon>
  330.         <textAlign>center</textAlign>
  331.         <font>Chicago</font>
  332.         <textSize>12</textSize>
  333.         <textStyle>plain</textStyle>
  334.         <name>Home</name>
  335.         <script>--  This button sends you to the Home stackon mouseUpif the commandKey is down thendoHelpexit mouseUpend ifpush this cardlock screengo stack "Dead Utility"playDeadSong "Franklins"go "Home"unlock screen with visual effect iris closeend mouseUp</script>
  336.     </part>
  337.     <part>
  338.         <id>8</id>
  339.         <type>button</type>
  340.         <visible> <true /> </visible>
  341.         <reserved5> 0 </reserved5>
  342.         <reserved4> 0 </reserved4>
  343.         <reserved3> 0 </reserved3>
  344.         <reserved2> 0 </reserved2>
  345.         <reserved1> 0 </reserved1>
  346.         <enabled> <true /> </enabled>
  347.         <rect>
  348.             <left>427</left>
  349.             <top>107</top>
  350.             <right>466</right>
  351.             <bottom>141</bottom>
  352.         </rect>
  353.         <style>transparent</style>
  354.         <showName> <false /> </showName>
  355.         <highlight> <false /> </highlight>
  356.         <autoHighlight> <true /> </autoHighlight>
  357.         <sharedHighlight> <true /> </sharedHighlight>
  358.         <family>0</family>
  359.         <titleWidth>0</titleWidth>
  360.         <icon>20186</icon>
  361.         <textAlign>center</textAlign>
  362.         <font>Chicago</font>
  363.         <textSize>12</textSize>
  364.         <textStyle>plain</textStyle>
  365.         <name>Sort</name>
  366.         <script>--  This button is used to sort the labels by date and set.on mouseUpif the commandKey is down thendoHelpexit mouseUpend if--push this cardlock screensort by field "set"sort datetime by field "date"pop cardend mouseUp</script>
  367.     </part>
  368.     <part>
  369.         <id>9</id>
  370.         <type>button</type>
  371.         <visible> <true /> </visible>
  372.         <reserved5> 0 </reserved5>
  373.         <reserved4> 0 </reserved4>
  374.         <reserved3> 0 </reserved3>
  375.         <reserved2> 0 </reserved2>
  376.         <reserved1> 0 </reserved1>
  377.         <enabled> <true /> </enabled>
  378.         <rect>
  379.             <left>448</left>
  380.             <top>76</top>
  381.             <right>508</right>
  382.             <bottom>105</bottom>
  383.         </rect>
  384.         <style>transparent</style>
  385.         <showName> <false /> </showName>
  386.         <highlight> <false /> </highlight>
  387.         <autoHighlight> <true /> </autoHighlight>
  388.         <sharedHighlight> <true /> </sharedHighlight>
  389.         <family>0</family>
  390.         <titleWidth>0</titleWidth>
  391.         <icon>0</icon>
  392.         <textAlign>center</textAlign>
  393.         <font>Chicago</font>
  394.         <textSize>12</textSize>
  395.         <textStyle>plain</textStyle>
  396.         <name>Next</name>
  397.         <script>--  This button is used to send you to the next card.on mouseDownif the commandKey is down thendoHelpexit mouseDownend if--go to next cardend mouseDownon mouseStillDowngo to next cardend mouseStillDown</script>
  398.     </part>
  399.     <part>
  400.         <id>10</id>
  401.         <type>button</type>
  402.         <visible> <true /> </visible>
  403.         <reserved5> 0 </reserved5>
  404.         <reserved4> 0 </reserved4>
  405.         <reserved3> 0 </reserved3>
  406.         <reserved2> 0 </reserved2>
  407.         <reserved1> 0 </reserved1>
  408.         <enabled> <true /> </enabled>
  409.         <rect>
  410.             <left>383</left>
  411.             <top>76</top>
  412.             <right>444</right>
  413.             <bottom>105</bottom>
  414.         </rect>
  415.         <style>transparent</style>
  416.         <showName> <false /> </showName>
  417.         <highlight> <false /> </highlight>
  418.         <autoHighlight> <true /> </autoHighlight>
  419.         <sharedHighlight> <true /> </sharedHighlight>
  420.         <family>0</family>
  421.         <titleWidth>0</titleWidth>
  422.         <icon>0</icon>
  423.         <textAlign>center</textAlign>
  424.         <font>Chicago</font>
  425.         <textSize>12</textSize>
  426.         <textStyle>plain</textStyle>
  427.         <name>Prev</name>
  428.         <script>--  This button is used to send you to the previous cardon mouseDownif the commandKey is down thendoHelpexit mouseDownend if--go to prev cardend mouseDownon mouseStillDowngo to prev cardend mouseStillDown</script>
  429.     </part>
  430.     <part>
  431.         <id>11</id>
  432.         <type>button</type>
  433.         <visible> <true /> </visible>
  434.         <reserved5> 0 </reserved5>
  435.         <reserved4> 0 </reserved4>
  436.         <reserved3> 0 </reserved3>
  437.         <reserved2> 0 </reserved2>
  438.         <reserved1> 0 </reserved1>
  439.         <enabled> <true /> </enabled>
  440.         <rect>
  441.             <left>476</left>
  442.             <top>310</top>
  443.             <right>505</right>
  444.             <bottom>337</bottom>
  445.         </rect>
  446.         <style>transparent</style>
  447.         <showName> <false /> </showName>
  448.         <highlight> <false /> </highlight>
  449.         <autoHighlight> <true /> </autoHighlight>
  450.         <sharedHighlight> <true /> </sharedHighlight>
  451.         <family>0</family>
  452.         <titleWidth>0</titleWidth>
  453.         <icon>1012</icon>
  454.         <textAlign>center</textAlign>
  455.         <font>Chicago</font>
  456.         <textSize>12</textSize>
  457.         <textStyle>plain</textStyle>
  458.         <name>return</name>
  459.         <script>--  This button should send you back from whence you came,--  depending on how you got here, that is... :-}on mouseUpvisual effect iris closepop cardend mouseUp</script>
  460.     </part>
  461.     <part>
  462.         <id>12</id>
  463.         <type>button</type>
  464.         <visible> <true /> </visible>
  465.         <reserved5> 0 </reserved5>
  466.         <reserved4> 0 </reserved4>
  467.         <reserved3> 0 </reserved3>
  468.         <reserved2> 0 </reserved2>
  469.         <reserved1> 0 </reserved1>
  470.         <enabled> <true /> </enabled>
  471.         <rect>
  472.             <left>465</left>
  473.             <top>259</top>
  474.             <right>503</right>
  475.             <bottom>299</bottom>
  476.         </rect>
  477.         <style>transparent</style>
  478.         <showName> <false /> </showName>
  479.         <highlight> <false /> </highlight>
  480.         <autoHighlight> <true /> </autoHighlight>
  481.         <sharedHighlight> <true /> </sharedHighlight>
  482.         <family>0</family>
  483.         <titleWidth>0</titleWidth>
  484.         <icon>26884</icon>
  485.         <textAlign>center</textAlign>
  486.         <font>Chicago</font>
  487.         <textSize>12</textSize>
  488.         <textStyle>plain</textStyle>
  489.         <name>Art</name>
  490.         <script>--  This button will send you to a card with some Dead graphics,--  and automaticall selct the "selection tool" to grab some with.--  You should be able to click the return button to come right back.on mouseUpif the commandKey is down thendoHelpexit mouseUpend if--push this cardgo to card "Art" of stack "Dead Utility"if the result is not empty thenput the result into errmsgplay boinganswer errmsgelsetype tab with optionKeychoose select toolend ifend mouseUp</script>
  491.     </part>
  492.     <part>
  493.         <id>14</id>
  494.         <type>button</type>
  495.         <visible> <true /> </visible>
  496.         <reserved5> 0 </reserved5>
  497.         <reserved4> 0 </reserved4>
  498.         <reserved3> 0 </reserved3>
  499.         <reserved2> 0 </reserved2>
  500.         <reserved1> 0 </reserved1>
  501.         <enabled> <true /> </enabled>
  502.         <rect>
  503.             <left>0</left>
  504.             <top>302</top>
  505.             <right>39</right>
  506.             <bottom>342</bottom>
  507.         </rect>
  508.         <style>transparent</style>
  509.         <showName> <false /> </showName>
  510.         <highlight> <false /> </highlight>
  511.         <autoHighlight> <false /> </autoHighlight>
  512.         <sharedHighlight> <true /> </sharedHighlight>
  513.         <family>0</family>
  514.         <titleWidth>0</titleWidth>
  515.         <icon>0</icon>
  516.         <textAlign>center</textAlign>
  517.         <font>Chicago</font>
  518.         <textSize>12</textSize>
  519.         <textStyle>plain</textStyle>
  520.         <name>Convert Fields</name>
  521.         <script>--  This secret button is used to convert the side A and--  side B fields from plain to scrolling, and back again.--  This is useful when set list data gets too long and goes--  belof the bottom of the field, which can happen when--  doing cut-and-paste work.on mouseUpif the commandKey is doen thendoHelpexit mouseUpend if--set the lockScreen to trueget the style of field "side A"if it is "scrolling" thenset the style of background field "side A" to transparentset the style of background field "side B" to transparentelseset the style of background field "side A" to scrollingset the style of background field "side B" to scrollingend ifend mouseUp</script>
  522.     </part>
  523.     <part>
  524.         <id>15</id>
  525.         <type>button</type>
  526.         <visible> <true /> </visible>
  527.         <reserved5> 0 </reserved5>
  528.         <reserved4> 0 </reserved4>
  529.         <reserved3> 0 </reserved3>
  530.         <reserved2> 0 </reserved2>
  531.         <reserved1> 0 </reserved1>
  532.         <enabled> <true /> </enabled>
  533.         <rect>
  534.             <left>432</left>
  535.             <top>43</top>
  536.             <right>460</right>
  537.             <bottom>73</bottom>
  538.         </rect>
  539.         <style>transparent</style>
  540.         <showName> <false /> </showName>
  541.         <highlight> <false /> </highlight>
  542.         <autoHighlight> <true /> </autoHighlight>
  543.         <sharedHighlight> <true /> </sharedHighlight>
  544.         <family>0</family>
  545.         <titleWidth>-1</titleWidth>
  546.         <icon>-15904</icon>
  547.         <textAlign>center</textAlign>
  548.         <font>Chicago</font>
  549.         <textSize>12</textSize>
  550.         <textStyle>plain</textStyle>
  551.         <name>Print</name>
  552.         <script>--  This button will cause two labels for a show to be--  printed.  It will get both labels for ONE show (provided the--  show has two labels on file), regardless of weather you--  are on Set I or Set II when you click it.on mouseUpif the commandKey is down thendoHelpexit mouseUpend if--open printing with dialogpush this card--lock screen--show field "Print Shield"if field "set" is 2 thengo previous cardend ifprint card from 16,20 to 330,304go next cardprint card from 16,20 to 330,304close printing--hide field "Print Shield"pop card--  set the lockScreen to falseend mouseUp</script>
  553.     </part>
  554.     <part>
  555.         <id>16</id>
  556.         <type>field</type>
  557.         <visible> <true /> </visible>
  558.         <dontWrap> <false /> </dontWrap>
  559.         <dontSearch> <true /> </dontSearch>
  560.         <sharedText> <true /> </sharedText>
  561.         <fixedLineHeight> <true /> </fixedLineHeight>
  562.         <autoTab> <false /> </autoTab>
  563.         <lockText> <true /> </lockText>
  564.         <rect>
  565.             <left>82</left>
  566.             <top>32</top>
  567.             <right>289</right>
  568.             <bottom>50</bottom>
  569.         </rect>
  570.         <style>opaque</style>
  571.         <autoSelect> <false /> </autoSelect>
  572.         <showLines> <false /> </showLines>
  573.         <wideMargins> <false /> </wideMargins>
  574.         <multipleLines> <false /> </multipleLines>
  575.         <reservedFamily> 0 </reservedFamily>
  576.         <titleWidth>0</titleWidth>
  577.         <icon>0</icon>
  578.         <textAlign>center</textAlign>
  579.         <font>Geneva</font>
  580.         <textSize>12</textSize>
  581.         <textStyle>condense</textStyle>
  582.         <textStyle>shadow</textStyle>
  583.         <textStyle>outline</textStyle>
  584.         <textStyle>bold</textStyle>
  585.         <textHeight>16</textHeight>
  586.         <name>top title</name>
  587.         <script></script>
  588.     </part>
  589.     <part>
  590.         <id>17</id>
  591.         <type>field</type>
  592.         <visible> <true /> </visible>
  593.         <dontWrap> <false /> </dontWrap>
  594.         <dontSearch> <true /> </dontSearch>
  595.         <sharedText> <true /> </sharedText>
  596.         <fixedLineHeight> <true /> </fixedLineHeight>
  597.         <autoTab> <false /> </autoTab>
  598.         <lockText> <true /> </lockText>
  599.         <rect>
  600.             <left>29</left>
  601.             <top>216</top>
  602.             <right>217</right>
  603.             <bottom>230</bottom>
  604.         </rect>
  605.         <style>opaque</style>
  606.         <autoSelect> <false /> </autoSelect>
  607.         <showLines> <false /> </showLines>
  608.         <wideMargins> <false /> </wideMargins>
  609.         <multipleLines> <false /> </multipleLines>
  610.         <reservedFamily> 0 </reservedFamily>
  611.         <titleWidth>0</titleWidth>
  612.         <icon>0</icon>
  613.         <textAlign>left</textAlign>
  614.         <font>Geneva</font>
  615.         <textSize>9</textSize>
  616.         <textStyle>condense</textStyle>
  617.         <textStyle>shadow</textStyle>
  618.         <textStyle>outline</textStyle>
  619.         <textStyle>bold</textStyle>
  620.         <textHeight>12</textHeight>
  621.         <name>side title</name>
  622.         <script></script>
  623.     </part>
  624.     <part>
  625.         <id>18</id>
  626.         <type>field</type>
  627.         <visible> <true /> </visible>
  628.         <dontWrap> <false /> </dontWrap>
  629.         <dontSearch> <true /> </dontSearch>
  630.         <sharedText> <true /> </sharedText>
  631.         <fixedLineHeight> <true /> </fixedLineHeight>
  632.         <autoTab> <false /> </autoTab>
  633.         <lockText> <true /> </lockText>
  634.         <rect>
  635.             <left>279</left>
  636.             <top>231</top>
  637.             <right>322</right>
  638.             <bottom>245</bottom>
  639.         </rect>
  640.         <style>opaque</style>
  641.         <autoSelect> <false /> </autoSelect>
  642.         <showLines> <false /> </showLines>
  643.         <wideMargins> <false /> </wideMargins>
  644.         <multipleLines> <false /> </multipleLines>
  645.         <reservedFamily> 0 </reservedFamily>
  646.         <titleWidth>0</titleWidth>
  647.         <icon>0</icon>
  648.         <textAlign>right</textAlign>
  649.         <font>Geneva</font>
  650.         <textSize>9</textSize>
  651.         <textStyle>condense</textStyle>
  652.         <textStyle>bold</textStyle>
  653.         <textHeight>12</textHeight>
  654.         <name>set label</name>
  655.         <script></script>
  656.     </part>
  657.     <part>
  658.         <id>19</id>
  659.         <type>button</type>
  660.         <visible> <true /> </visible>
  661.         <reserved5> 0 </reserved5>
  662.         <reserved4> 0 </reserved4>
  663.         <reserved3> 0 </reserved3>
  664.         <reserved2> 0 </reserved2>
  665.         <reserved1> 0 </reserved1>
  666.         <enabled> <true /> </enabled>
  667.         <rect>
  668.             <left>429</left>
  669.             <top>268</top>
  670.             <right>453</right>
  671.             <bottom>292</bottom>
  672.         </rect>
  673.         <style>transparent</style>
  674.         <showName> <false /> </showName>
  675.         <highlight> <false /> </highlight>
  676.         <autoHighlight> <true /> </autoHighlight>
  677.         <sharedHighlight> <true /> </sharedHighlight>
  678.         <family>0</family>
  679.         <titleWidth>0</titleWidth>
  680.         <icon>1015</icon>
  681.         <textAlign>center</textAlign>
  682.         <font>Chicago</font>
  683.         <textSize>12</textSize>
  684.         <textStyle>plain</textStyle>
  685.         <name>Set Button</name>
  686.         <script>--  This button will play one of those cool randpom dead tunes...on mouseUpif the commandKey is down thendoHelpexit mouseUpend if--playRandomDeadend mouseUp-- retired this...--on setTune theTuneset the lockScreen to truedomenu "New Button"put the id of card button "New Button" into theIDset the name of card button id theID to theTuneset the showName of card button id theID to falseset the style of card button id theID to transparentput "on mouseUp" & return into theScriptput "playRandomDead" & return after theScriptput "end mouseUp" & return after theScriptset the script of card button id theID to theScriptset the rect of card button id theID to 236,151,276,191end setTune</script>
  687.     </part>
  688.     <part>
  689.         <id>20</id>
  690.         <type>button</type>
  691.         <visible> <true /> </visible>
  692.         <reserved5> 0 </reserved5>
  693.         <reserved4> 0 </reserved4>
  694.         <reserved3> 0 </reserved3>
  695.         <reserved2> 0 </reserved2>
  696.         <reserved1> 0 </reserved1>
  697.         <enabled> <true /> </enabled>
  698.         <rect>
  699.             <left>434</left>
  700.             <top>148</top>
  701.             <right>506</right>
  702.             <bottom>170</bottom>
  703.         </rect>
  704.         <style>shadow</style>
  705.         <showName> <true /> </showName>
  706.         <highlight> <false /> </highlight>
  707.         <autoHighlight> <true /> </autoHighlight>
  708.         <sharedHighlight> <true /> </sharedHighlight>
  709.         <family>0</family>
  710.         <titleWidth>0</titleWidth>
  711.         <icon>0</icon>
  712.         <textAlign>center</textAlign>
  713.         <font>Chicago</font>
  714.         <textSize>12</textSize>
  715.         <textStyle>plain</textStyle>
  716.         <name>Go to...</name>
  717.         <script>--  This button will prompt for a show date and then go to the--  labels in this stack (if any) for that show...on mouseUpif the commandKey is down thendoHelpexit mouseUpend if--ask "Enter the show date:"if it is empty then exit mouseUpput it into theShowconvert theShow to short dateput findLabelByDate( theShow ) into tempend mouseUp</script>
  718.     </part>
  719.     <part>
  720.         <id>22</id>
  721.         <type>button</type>
  722.         <visible> <true /> </visible>
  723.         <reserved5> 0 </reserved5>
  724.         <reserved4> 0 </reserved4>
  725.         <reserved3> 0 </reserved3>
  726.         <reserved2> 0 </reserved2>
  727.         <reserved1> 0 </reserved1>
  728.         <enabled> <true /> </enabled>
  729.         <rect>
  730.             <left>384</left>
  731.             <top>148</top>
  732.             <right>427</right>
  733.             <bottom>170</bottom>
  734.         </rect>
  735.         <style>shadow</style>
  736.         <showName> <true /> </showName>
  737.         <highlight> <false /> </highlight>
  738.         <autoHighlight> <true /> </autoHighlight>
  739.         <sharedHighlight> <true /> </sharedHighlight>
  740.         <family>0</family>
  741.         <titleWidth>0</titleWidth>
  742.         <icon>0</icon>
  743.         <textAlign>center</textAlign>
  744.         <font>Chicago</font>
  745.         <textSize>12</textSize>
  746.         <textStyle>plain</textStyle>
  747.         <name>New</name>
  748.         <script>--  This button will produce a pair of labels for a show.--  It is fairly automated .. it will prompt for the date,--  and create two cards, for set I and set II.  It will--  then search out the show in the Dead Shows stack, read the--  set list, and bring it back to fill in the tape lists.--  The flip is placed after the 6th song of each set and may--  need adjustment, as might the encore.  You can handle it!----Option Key----  If the Option Key is used, it will simply create a new card--  and put you in the date field.  A short cut to quickly adding--  a new card.on mouseUpif the commandKey is down thendoHelpelse if the optionKey is down thendoMenu "Copy Card"doMenu "Paste Card"click at the loc of field "date"elseset the lockScreen to truesetUpNewCardend ifend mouseUpon setUpNewCardask "Date of the show:"if it is not empty thenif ( findLabelByDate( it ) is true ) thenanswer "Already exists!"exit setUpNewCardend ifconvert it to short dateput it into showDatenewLabels( showDate )end ifend setUpNewCard</script>
  749.     </part>
  750.     <part>
  751.         <id>27</id>
  752.         <type>button</type>
  753.         <visible> <true /> </visible>
  754.         <reserved5> 0 </reserved5>
  755.         <reserved4> 0 </reserved4>
  756.         <reserved3> 0 </reserved3>
  757.         <reserved2> 0 </reserved2>
  758.         <reserved1> 0 </reserved1>
  759.         <enabled> <true /> </enabled>
  760.         <rect>
  761.             <left>434</left>
  762.             <top>198</top>
  763.             <right>506</right>
  764.             <bottom>220</bottom>
  765.         </rect>
  766.         <style>shadow</style>
  767.         <showName> <true /> </showName>
  768.         <highlight> <false /> </highlight>
  769.         <autoHighlight> <true /> </autoHighlight>
  770.         <sharedHighlight> <true /> </sharedHighlight>
  771.         <family>0</family>
  772.         <titleWidth>0</titleWidth>
  773.         <icon>0</icon>
  774.         <textAlign>center</textAlign>
  775.         <font>Chicago</font>
  776.         <textSize>12</textSize>
  777.         <textStyle>plain</textStyle>
  778.         <name>Search...</name>
  779.         <script>--  This button invokes the Search function.  This function--  allows you to enter a partial list of songs and search--  for them, either in exact sequence or in any order, to be--  found either in this stack ("On Tape") to see if you have a--  particular label for the list in question, or it will search--  the shows stack to find a particular show.  handy when you--  have a "mystery tape" to identify.on mouseUpif the commandKey is down thendoHelpexit mouseUpend if--searchend mouseUp</script>
  780.     </part>
  781.     <part>
  782.         <id>23</id>
  783.         <type>button</type>
  784.         <visible> <true /> </visible>
  785.         <reserved5> 0 </reserved5>
  786.         <reserved4> 0 </reserved4>
  787.         <reserved3> 0 </reserved3>
  788.         <reserved2> 0 </reserved2>
  789.         <reserved1> 0 </reserved1>
  790.         <enabled> <true /> </enabled>
  791.         <rect>
  792.             <left>434</left>
  793.             <top>173</top>
  794.             <right>506</right>
  795.             <bottom>195</bottom>
  796.         </rect>
  797.         <style>shadow</style>
  798.         <showName> <true /> </showName>
  799.         <highlight> <false /> </highlight>
  800.         <autoHighlight> <true /> </autoHighlight>
  801.         <sharedHighlight> <true /> </sharedHighlight>
  802.         <family>0</family>
  803.         <titleWidth>0</titleWidth>
  804.         <icon>0</icon>
  805.         <textAlign>center</textAlign>
  806.         <font>Chicago</font>
  807.         <textSize>12</textSize>
  808.         <textStyle>plain</textStyle>
  809.         <name>Find...</name>
  810.         <script>--  This button is quick access to the Find command.  It will let--  you search for some text anywhere on a card.on mouseUpif the commandKey is down thendoHelpexit mouseUpend if--doMenu "Find..."end mouseUp</script>
  811.     </part>
  812.     <part>
  813.         <id>24</id>
  814.         <type>button</type>
  815.         <visible> <true /> </visible>
  816.         <reserved5> 0 </reserved5>
  817.         <reserved4> 0 </reserved4>
  818.         <reserved3> 0 </reserved3>
  819.         <reserved2> 0 </reserved2>
  820.         <reserved1> 0 </reserved1>
  821.         <enabled> <true /> </enabled>
  822.         <rect>
  823.             <left>417</left>
  824.             <top>313</top>
  825.             <right>440</right>
  826.             <bottom>338</bottom>
  827.         </rect>
  828.         <style>transparent</style>
  829.         <showName> <false /> </showName>
  830.         <highlight> <false /> </highlight>
  831.         <autoHighlight> <true /> </autoHighlight>
  832.         <sharedHighlight> <true /> </sharedHighlight>
  833.         <family>0</family>
  834.         <titleWidth>0</titleWidth>
  835.         <icon>26635</icon>
  836.         <textAlign>center</textAlign>
  837.         <font>Chicago</font>
  838.         <textSize>12</textSize>
  839.         <textStyle>plain</textStyle>
  840.         <name>Help</name>
  841.         <script>--  This button will send you to a more general help screen.on mouseUpif the commandKey is down thendoHelpexit mouseUpend if--push this cardplayDead "help"go card "Labels Help" of stack "Dead Utility"end mouseUp</script>
  842.     </part>
  843.     <part>
  844.         <id>25</id>
  845.         <type>field</type>
  846.         <visible> <true /> </visible>
  847.         <dontWrap> <false /> </dontWrap>
  848.         <dontSearch> <false /> </dontSearch>
  849.         <sharedText> <false /> </sharedText>
  850.         <fixedLineHeight> <true /> </fixedLineHeight>
  851.         <autoTab> <false /> </autoTab>
  852.         <lockText> <false /> </lockText>
  853.         <rect>
  854.             <left>28</left>
  855.             <top>247</top>
  856.             <right>317</right>
  857.             <bottom>297</bottom>
  858.         </rect>
  859.         <style>transparent</style>
  860.         <autoSelect> <false /> </autoSelect>
  861.         <showLines> <false /> </showLines>
  862.         <wideMargins> <false /> </wideMargins>
  863.         <multipleLines> <false /> </multipleLines>
  864.         <reservedFamily> 0 </reservedFamily>
  865.         <titleWidth>0</titleWidth>
  866.         <icon>0</icon>
  867.         <textAlign>left</textAlign>
  868.         <font>Geneva</font>
  869.         <textSize>9</textSize>
  870.         <textStyle>condense</textStyle>
  871.         <textStyle>bold</textStyle>
  872.         <textHeight>12</textHeight>
  873.         <name>Notes</name>
  874.         <script></script>
  875.     </part>
  876.     <part>
  877.         <id>26</id>
  878.         <type>field</type>
  879.         <visible> <false /> </visible>
  880.         <dontWrap> <false /> </dontWrap>
  881.         <dontSearch> <false /> </dontSearch>
  882.         <sharedText> <false /> </sharedText>
  883.         <fixedLineHeight> <true /> </fixedLineHeight>
  884.         <autoTab> <false /> </autoTab>
  885.         <lockText> <true /> </lockText>
  886.         <rect>
  887.             <left>360</left>
  888.             <top>32</top>
  889.             <right>509</right>
  890.             <bottom>338</bottom>
  891.         </rect>
  892.         <style>opaque</style>
  893.         <autoSelect> <false /> </autoSelect>
  894.         <showLines> <false /> </showLines>
  895.         <wideMargins> <false /> </wideMargins>
  896.         <multipleLines> <false /> </multipleLines>
  897.         <reservedFamily> 0 </reservedFamily>
  898.         <titleWidth>0</titleWidth>
  899.         <icon>0</icon>
  900.         <textAlign>left</textAlign>
  901.         <font>Geneva</font>
  902.         <textSize>12</textSize>
  903.         <textStyle>plain</textStyle>
  904.         <textHeight>16</textHeight>
  905.         <name>Print Shield</name>
  906.         <script>on mouseUphide meend mouseUp</script>
  907.     </part>
  908.     <part>
  909.         <id>30</id>
  910.         <type>field</type>
  911.         <visible> <false /> </visible>
  912.         <dontWrap> <false /> </dontWrap>
  913.         <dontSearch> <true /> </dontSearch>
  914.         <sharedText> <true /> </sharedText>
  915.         <fixedLineHeight> <false /> </fixedLineHeight>
  916.         <autoTab> <false /> </autoTab>
  917.         <lockText> <true /> </lockText>
  918.         <rect>
  919.             <left>31</left>
  920.             <top>208</top>
  921.             <right>449</right>
  922.             <bottom>339</bottom>
  923.         </rect>
  924.         <style>scrolling</style>
  925.         <autoSelect> <false /> </autoSelect>
  926.         <showLines> <false /> </showLines>
  927.         <wideMargins> <true /> </wideMargins>
  928.         <multipleLines> <false /> </multipleLines>
  929.         <reservedFamily> 0 </reservedFamily>
  930.         <titleWidth>0</titleWidth>
  931.         <icon>0</icon>
  932.         <textAlign>left</textAlign>
  933.         <font>Geneva</font>
  934.         <textSize>10</textSize>
  935.         <textStyle>bold</textStyle>
  936.         <textHeight>13</textHeight>
  937.         <name>help text</name>
  938.         <script>on mouseUplock screenhide meunlock screen with visual effect dissolve fastend mouseUp</script>
  939.     </part>
  940.     <part>
  941.         <id>34</id>
  942.         <type>button</type>
  943.         <visible> <true /> </visible>
  944.         <reserved5> 0 </reserved5>
  945.         <reserved4> 0 </reserved4>
  946.         <reserved3> 0 </reserved3>
  947.         <reserved2> 0 </reserved2>
  948.         <reserved1> 0 </reserved1>
  949.         <enabled> <true /> </enabled>
  950.         <rect>
  951.             <left>413</left>
  952.             <top>23</top>
  953.             <right>478</right>
  954.             <bottom>39</bottom>
  955.         </rect>
  956.         <style>shadow</style>
  957.         <showName> <true /> </showName>
  958.         <highlight> <false /> </highlight>
  959.         <autoHighlight> <true /> </autoHighlight>
  960.         <sharedHighlight> <true /> </sharedHighlight>
  961.         <family>0</family>
  962.         <titleWidth>0</titleWidth>
  963.         <icon>0</icon>
  964.         <textAlign>center</textAlign>
  965.         <font>Chicago</font>
  966.         <textSize>12</textSize>
  967.         <textStyle>plain</textStyle>
  968.         <name>Narrow</name>
  969.         <script>--  This button will switch between wide and narrow labels.--  Something changed in HyperCard 2.0 which apparently prints--  cards approx. 10% narrower than the screen.  You may need to--  set the labels to WIDE mode to get a label which fits nicely--  into a casette box.  The label should be 4" wide when printed.on mouseUpif the commandKey is down thendoHelpexit mouseUpend if--set the cursor to watchlock screenif the short name of me is "Wide" thenmakeWideset the name of me to "Narrow"elsemakeNarrowset the name of me to "Wide"end ifunlock screen with visual effect dissolve fastend mouseUpon makeNarrowset the rect of bg field "hide edge" to 322,28,349,299set the rect of bg field "hide flower" to 292,38,318,63set the rect of bg field "location" to 26,49,318,68set the rect of bg field "side A" to 31,75,169,208set the rect of bg field "side B" to 175,75,316,208--set the rect of bg field "side location" to 29,230,254,246set the rect of bg field "date" to 224,217,317,231set the rect of bg field "set" to 296,231,317,245set the rect of bg field "top title" to 82,32,265,49set the rect of bg field "set label" to 253,231,296,245end makeNarrowon makeWideset the rect of bg field "hide edge" to 317,32,344,295set the rect of bg field "hide flower" to 266,39,292,64set the rect of bg field "location" to 26,50,343,68set the rect of bg field "side A" to 31,75,183,208set the rect of bg field "side B" to 188,75,338,208--set the rect of bg field "side location" to 29,230,254,246set the rect of bg field "date" to 250,217,343,231set the rect of bg field "set" to 322,231,343,245set the rect of bg field "top title" to 82,32,289,50set the rect of bg field "set label" to 279,231,322,245end makeWide--  to use this to capture all the field rect's, create a bg--  field named "capture".----on doCapture--  put empty into bg field "capture"--  repeat with i = 1 to the number of bg fields--    put "set the rect of bg field " & quote & the short name of bg field i┬¼--    & quote & " to " & the rect of bg field i & return after bg field "capture"--  end repeat--end doCapture</script>
  970.     </part>
  971.     <content>
  972.         <layer>background</layer>
  973.         <id>30</id>
  974.         <text>Help for bkgnd button "Wide"...  This button will switch between wide and narrow labels.  Something changed in HyperCard 2.0 which apparently prints  cards approx. 10% narrower than the screen.  You may need to  set the labels to WIDE mode to get a label which fits nicely  into a casette box.  The label should be 4" wide when printed.</text>
  975.     </content>
  976.     <content>
  977.         <layer>background</layer>
  978.         <id>16</id>
  979.         <text>Grateful Dead</text>
  980.     </content>
  981.     <content>
  982.         <layer>background</layer>
  983.         <id>17</id>
  984.         <text>GRATEFUL DEAD</text>
  985.     </content>
  986.     <content>
  987.         <layer>background</layer>
  988.         <id>18</id>
  989.         <text>Set</text>
  990.     </content>
  991.     <name>Dead  Label</name>
  992.     <script>on newCardtabKeyend newCardon miscgo stack "Misc Labels"end miscon newLabels showDateglobal listDate, labelList, listVenue--  put showDate into it--  convert it to dateItems--  put item 1 of it into theYearset the lockScreen to trueif findLabelByDate( showDate ) is true thenanswer "Labels already made!"exit newLabelsend ifset the cursor to 4put empty into Venueput empty into songListpush this cardif showDate is listDate thenput labelList into songListput item 1 of listVenue into Venueput "Quick Labels!"elsego to stack "Dead Shows"put findShowByDate( showDate ) into foundItif foundIt is true thenput item 1 of field "location" into Venueput field "songs" into songListend ifend ifpop cardget field "set"if it is 1 then go next carddoMenu "New Card"put showDate into field "date"put "1" into field setput Venue into field "location"put Venue into field "side location"doMenu "Copy Card"doMenu "Paste Card"put "2" into field "set"go previf songList is not empty thenput 0 into firstSetput 0 into secondSetput 1 into songNumput the number of lines in songList into totalSongs-- do first set labelput "side A" into tapeSiderepeatput line songNum of songList into thisSongadd 1 to songNumif thisSong is empty thenexit repeatend ifput thisSong & return after field tapeSideadd 1 to firstSetif firstSet > 6 thenput "side B" into tapeSideend ifend repeat-- do second set labelgo to next cardput "side A" into tapeSiderepeatput line songNum of songList into thisSongput thisSong & return after field tapeSideadd 1 to songNumadd 1 to secondSetif songNum > totalSongs thenexit repeatend ifif secondSet > 4 thenput "side B" into tapeSideend ifend repeatgo to previous cardend ifclick at the loc of field "location"end newLabelsfunction findLabelByDate theShowDate--  a binary search through the cards.--  this particular version, upon failing to find the show, will--  leave you on the card immediately PREVIOUS to the date--  searched for.  This makes it easy to insert new shows into--  the proper place.--put the number of this card into origCardput theShowDate into searchDateconvert searchDate to secondsput the number of cards into endCardput trunc( endCard / 2 ) into targetCardput 1 into begCardset the cursor to 4set the lockScreen to truerepeat forevershowBusygo card targetCardget field "date"if it is theShowDate then return trueconvert it to secondsif it > searchDate thenput the number of this card into endCardelseput the number of this card into begCardend ifif (endCard - begCard) < 2 thengo card begCardget field "date"convert it to secondsif it is searchDate then return truego next cardget field "date"convert it to secondsif it is searchDate then return true--  if we reach here the show does not exist yet--  find the show previous to the one we were looking forrepeat foreverget field "date"convert it to secondsif (it < searchDate) or (the number of this card is 1) then exit repeatgo previous cardend repeatexit repeatend if--put trunc( begCard + ((endCard - begCard) / 2) ) into targetCard--    put begCard & " : " & targetCard & " : " & endCardend repeathide the messagereturn falseend findLabelByDate</script>
  993. </background>
  994.